.sponsor-overlay {
  z-index: 9999;
  pointer-events: auto;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  margin-right: 31px;
}

.sponsor-overlay:hover {
  opacity: 1;
}

.sponsor-container {
  position: relative;
  width: 320px;
  /* height: 120px; */
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 左上角：跳过信息区域 */
.sponsor-header {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.skip-text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.cancel-skip-btn {
  background: rgba(255, 87, 87, 0.9);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-skip-btn:hover {
  background: rgba(255, 87, 87, 1);
  transform: translateY(-1px);
}

/* 右上角：控制区域 */
.skip-notice-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown-section {
  display: flex;
  align-items: center;
}

.countdown-btn {
  background: rgba(74, 144, 226, 0.9);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.countdown-btn:hover {
  background: rgba(74, 144, 226, 1);
  transform: translateY(-1px);
}

.close-btn {
  background: rgba(128, 128, 128, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 87, 87, 0.9);
  transform: translateY(-1px);
}

/* 右下角：不再显示按钮 */
.skip-notice-footer {
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.never-show-btn {
  background: rgba(128, 128, 128, 0.6);
  color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.never-show-btn:hover {
  background: rgba(128, 128, 128, 0.8);
  color: white;
  transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 480px) {
  .sponsor-overlay {
    top: 10px;
    right: 10px;
  }
  
  .sponsor-container {
    width: 280px;
    height: 100px;
    padding: 12px;
  }
  
  .skip-text {
    font-size: 12px;
  }
  
  .cancel-skip-btn,
  .countdown-btn,
  .never-show-btn {
    font-size: 10px;
    padding: 3px 6px;
  }
}

/* 动画效果 */
.sponsor-container {
  animation: slideInFromRight 0.3s ease-out;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.sponsor-expand-btn {
  opacity: .2;
}
.sponsor-expand-btn:hover {
  opacity: 1;
}
.bpx-state-no-cursor .sponsor-expand-btn {
  opacity: 0;
}